package cn.itsource.org.service;

import cn.itsource.basic.service.IBaseService;
import cn.itsource.basic.util.AjaxResult;
import cn.itsource.basic.util.PageList;
import cn.itsource.org.domain.Employee;
import cn.itsource.org.dto.LoginDto;
import cn.itsource.org.query.EmployeeQuery;

import java.util.List;

public interface IEmployeeService extends IBaseService<Employee,EmployeeQuery> {

    //公共的curd通过继承得到

    /**
     * 查询所有的部门经理
     * @return list
     */
    List<Employee> findManagers();


    Employee checkRepeatEmployee(Employee admin);

    AjaxResult login(LoginDto loginDto);

    List<Employee> getShopEmployees();
}
